import javax.swing.JPanel;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JTextField;
import javax.swing.JRadioButton;
import javax.swing.JButton;


public class AssetManager extends JPanel {
	private JTextField txtIdentifier;
	private JTextField txtName;
	private JTextField txtOwner;
	private JTextField txtCustodian;
	private JTextField txtType;
	private JTextField txtDate;
	private JTextField txtPeriod;
	private JTextField txtSchedule;
	private JTextField txtFinancial;
	private JTextField txtConfidentiality;
	private JTextField txtIntegrity;
	private JTextField txtAvailability;
	private JTextField txtStorage;

	/**
	 * Create the panel.
	 */
	public AssetManager() {
		setLayout(null);
		
		JComboBox cmbAsset = new JComboBox();
		cmbAsset.setBounds(133, 11, 90, 20);
		add(cmbAsset);
		
		JLabel lblIdentifier = new JLabel("Identifier:");
		lblIdentifier.setBounds(37, 73, 55, 14);
		add(lblIdentifier);
		
		JLabel lblName = new JLabel("Name:");
		lblName.setBounds(37, 98, 46, 14);
		add(lblName);
		
		JLabel lblOwner = new JLabel("Owner:");
		lblOwner.setBounds(37, 123, 46, 14);
		add(lblOwner);
		
		JLabel lblCustodian = new JLabel("Custodian:");
		lblCustodian.setBounds(37, 148, 66, 14);
		add(lblCustodian);
		
		JLabel lblType = new JLabel("Type:");
		lblType.setBounds(37, 173, 46, 14);
		add(lblType);
		
		JLabel lblDateAcquired = new JLabel("Date Acquired:");
		lblDateAcquired.setBounds(37, 198, 78, 14);
		add(lblDateAcquired);
		
		JLabel lblRetentionPeriod = new JLabel("Retention Period:");
		lblRetentionPeriod.setBounds(37, 223, 90, 14);
		add(lblRetentionPeriod);
		
		JLabel lblMaintainanceSchedule = new JLabel("Maintainance Schedule:");
		lblMaintainanceSchedule.setBounds(37, 248, 128, 14);
		add(lblMaintainanceSchedule);
		
		JLabel lblValue = new JLabel("Value");
		lblValue.setFont(new Font("Tahoma", Font.BOLD, 11));
		lblValue.setBounds(224, 73, 46, 14);
		add(lblValue);
		
		JLabel lblFinancial = new JLabel("Financial:");
		lblFinancial.setBounds(245, 98, 46, 14);
		add(lblFinancial);
		
		JLabel lblConfidentiality = new JLabel("Confidentiality:");
		lblConfidentiality.setBounds(245, 123, 90, 14);
		add(lblConfidentiality);
		
		JLabel lblIntegrity = new JLabel("Integrity:");
		lblIntegrity.setBounds(245, 148, 46, 14);
		add(lblIntegrity);
		
		JLabel lblAvailability = new JLabel("Availability:");
		lblAvailability.setBounds(245, 173, 90, 14);
		add(lblAvailability);
		
		JLabel lblClassification = new JLabel("Classification:");
		lblClassification.setBounds(224, 198, 78, 14);
		add(lblClassification);
		
		JLabel lblStorageLocation = new JLabel("Storage Location:");
		lblStorageLocation.setBounds(224, 223, 111, 14);
		add(lblStorageLocation);
		
		txtIdentifier = new JTextField();
		txtIdentifier.setBounds(96, 70, 86, 20);
		add(txtIdentifier);
		txtIdentifier.setColumns(10);
		
		txtName = new JTextField();
		txtName.setBounds(96, 95, 86, 20);
		add(txtName);
		txtName.setColumns(10);
		
		txtOwner = new JTextField();
		txtOwner.setBounds(96, 120, 86, 20);
		add(txtOwner);
		txtOwner.setColumns(10);
		
		txtCustodian = new JTextField();
		txtCustodian.setBounds(96, 145, 86, 20);
		add(txtCustodian);
		txtCustodian.setColumns(10);
		
		txtType = new JTextField();
		txtType.setBounds(96, 173, 86, 20);
		add(txtType);
		txtType.setColumns(10);
		
		txtDate = new JTextField();
		txtDate.setBounds(125, 198, 86, 20);
		add(txtDate);
		txtDate.setColumns(10);
		
		txtPeriod = new JTextField();
		txtPeriod.setBounds(125, 223, 86, 20);
		add(txtPeriod);
		txtPeriod.setColumns(10);
		
		txtSchedule = new JTextField();
		txtSchedule.setBounds(156, 248, 86, 20);
		add(txtSchedule);
		txtSchedule.setColumns(10);
		
		txtFinancial = new JTextField();
		txtFinancial.setBounds(324, 95, 86, 20);
		add(txtFinancial);
		txtFinancial.setColumns(10);
		
		txtConfidentiality = new JTextField();
		txtConfidentiality.setBounds(324, 120, 86, 20);
		add(txtConfidentiality);
		txtConfidentiality.setColumns(10);
		
		txtIntegrity = new JTextField();
		txtIntegrity.setBounds(324, 145, 86, 20);
		add(txtIntegrity);
		txtIntegrity.setColumns(10);
		
		txtAvailability = new JTextField();
		txtAvailability.setBounds(324, 170, 86, 20);
		add(txtAvailability);
		txtAvailability.setColumns(10);
		
		txtStorage = new JTextField();
		txtStorage.setBounds(324, 220, 86, 20);
		add(txtStorage);
		txtStorage.setColumns(10);
		
		JRadioButton rdbtnAddAsset = new JRadioButton("Add Asset");
		rdbtnAddAsset.setBounds(37, 38, 109, 23);
		add(rdbtnAddAsset);
		
		JRadioButton rdbtnModifyAsset = new JRadioButton("Modify Asset");
		rdbtnModifyAsset.setBounds(37, 10, 109, 23);
		add(rdbtnModifyAsset);
		
		JButton btnSave = new JButton("Save");
		btnSave.setBounds(298, 266, 89, 23);
		add(btnSave);
		
		JComboBox cmbClassification = new JComboBox();
		cmbClassification.setBounds(324, 195, 86, 20);
		add(cmbClassification);

	}
}
